package com.lnking.lnkingplace.model.login;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * @author 联坤
 */
@Data
public class LoginCompareRequest {

    @ApiModelProperty(value = "场所名称")
    private String placeName;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "联系方式")
    @Pattern(regexp = "^((17[0-9])|(14[0-9])|(13[0-9])|(15[0-9])|(16[0-9])|(18[0-9])|(19[0-9]))\\d{8}$", message = "电话格式不正确")
    private String phone;
}
